# Contributor: Dominic Fung <domokun997@gmail.com>
# Maintainer: Dominic Fung <domokun997@gmail.com>
pkgname=font-fontawesome-4
_pkgname=Font-Awesome
pkgver=4.7.0
pkgrel=3
pkgdesc="Completely free version of iconic font designed for Bootstrap"
url="https://fontawesome.com/"
arch="noarch"
license="CC"
options="!check"
depends="fontconfig mkfontscale"
source="$pkgname-$pkgver.tar.gz::https://github.com/FortAwesome/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

provides="ttf-font-awesome-4=$pkgver-r$pkgrel"
replaces="ttf-font-awesome-4"

package() {
	install -Dm644 fonts/*.otf fonts/*.ttf \
		-t "$pkgdir"/usr/share/fonts/fontawesome-4
}

sha512sums="
913e5eec2211111e9601c92059745344766f4c3a6f3563cbc6f8a5f3850a0101bab8f3f992a97c6f1c264a2bbb5163f3feecc6b3f64fcb22c9592d2d38cc777d  font-fontawesome-4-4.7.0.tar.gz
"
